package com.oceanread.cn.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.oceanread.cn.entity.Drillhole2;
import com.oceanread.cn.entity.Pipeline;

import java.util.List;

public interface IDrillhole2Service extends IService<Drillhole2> {
    List<Drillhole2> getall();
    List<Drillhole2> query(String key,String value);

    int insert(String PrjCode,
              String PrjID,
              Integer Order,
              String Altitude,
              String Start,
              String Thickness,
              String Material,
              String MaterialO
    );
    Integer update(Drillhole2 drillhole2);
    Integer delete(int id);

    List<Drillhole2> query1(String key, String value, int page, int size);
    List<Drillhole2> query2(String key, String value, String key2, String value2, int page, int size);
    List<Drillhole2> query2json(String key, String value, String key2, String value2);
    Integer getnumquery(String key, String value);
    Integer getnumquery2(String key, String value, String key2, String value2);
}
